package com.yangrong.thread.chapter2;

public class SimpleCalculatorStrategy implements CalculatorStrategy {

	private final static double SALAPY_RATE = 0.1;
	private final static double BOUNS_RATE = 0.15;

	@Override
	public double calculte(double salary, double bonus) {
		return salary * SALAPY_RATE + bonus * BOUNS_RATE;
	}

}
